<div class="treeWrap">
  <div class="leftBox">
    <nz-tree #nzTreeComponent [nzData]="functionList" (nzClick)="nzEvent($event)" nzCheckable
      [nzCheckedKeys]="defaultCheckedKeys" [nzExpandedKeys]="defaultExpandedKeys" style="max-height: 600px;
      overflow: auto;">
    </nz-tree>
  </div>
  <div class="rightBox">
    <nz-tabset [nzSize]="'small'">
      <nz-tab nzTitle="操作权限">
        <div *ngIf="origin.buttonInfoList && origin.buttonInfoList.length">
          <label style="width: 100%" nz-checkbox [(ngModel)]="item.checked" *ngFor="let item of origin.buttonInfoList"
            (ngModelChange)="addAuthority(origin, node, item)" [disabled]="source === 'onlyAuth'">{{
            item.permissionsName }}</label>
        </div>
        <nz-empty nzNotFoundImage="simple" *ngIf="origin.buttonInfoList && origin.buttonInfoList.length === 0">
        </nz-empty>
      </nz-tab>
    </nz-tabset>
  </div>
</div>
<nz-empty nzNotFoundImage="simple" *ngIf="functionList.length === 0"></nz-empty>